import { injectable } from "inversify";
import { Event, DebugSessionCustomEvent, DebugSession, debug } from "vscode";
import { IDebugService } from "./types";

@injectable()
export class DebugService implements IDebugService {
  public get onDidReceiveDebugSessionCustomEvent(): Event<DebugSessionCustomEvent> {
    return debug.onDidReceiveDebugSessionCustomEvent;
  }
  public get onDidTerminateDebugSession(): Event<DebugSession> {
    return debug.onDidTerminateDebugSession;
  }
  public static instance = new DebugService();
}